<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  created() {
    // const _success = this.$message.success
    // const _error = this.$message.error
    // this.$message.success = (message) => {
    //   this.$message.closeAll()
    //   _success(this.$t(message))
    // }
    // this.$message.error = (message) => {
    //   this.$message.closeAll()
    //   _error(this.$t(message))
    // }
  }
}
</script>
<style lang="scss" scoped>
#app {
  overflow-y: auto;
  &::-webkit-scrollbar {
    display: none;
  }
  scrollbar-width: none; /* Firefox 64 */
}
</style>
